'use strict';
/**
 * relation model
 */
export default class extends think.model.relation {
  /**
   * init
   * @param  {} args []
   * @return {}         []
   */
  init(...args){
    super.init(...args);

    this.relation = {
      customer: {
        type: think.model.HAS_MANY,
        where:{"customer_id":{"<":10}}
      },
      staff: {
        type: think.model.HAS_MANY
      }
    }
  }
}
